package com.java.cfpaying.config;

import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter;

/**
 * @author cf
 * @date 2021/8/20 14:08
 */
//@Configuration
//@EnableResourceServer
public class SecurityConfig extends ResourceServerConfigurerAdapter {
//    @Override
//    public void configure(ResourceServerSecurityConfigurer resources) throws Exception {
//        super.configure(resources);
//    }

//    @Override
//    public void configure(HttpSecurity http) throws Exception {
//        http.cors().and().csrf().disable().authorizeRequests()
//                .antMatchers("/user1/getJwt").permitAll()
////                .antMatchers("/api/intention").permitAll()
//                .and()
//                .authorizeRequests()
//                .anyRequest().authenticated();
//    }

}
